/*
 * SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD
 *
 * SPDX-License-Identifier: Apache-2.0
 */

#pragma once

#ifndef __LEC_EXAMPLE_H
#define __LEC_EXAMPLE_H

#include "sdkconfig.h"
#include "driver/gpio.h"    

/* Can use project configuration menu (idf.py menuconfig) to choose the GPIO to blink,
   or you can edit the following line and set a number here.
*/
typedef enum{
    WHITE_LED_INDEX = 0,
    YELLOW_LED_INDEX,
}led_pwm_index_e;

typedef struct 
{
    led_pwm_index_e index;
    uint32_t freq;
    uint8_t duty;
    /* data */
}led_pwm_msg_t;

extern QueueHandle_t led_pwm_queue;

void pwm_test_breath(void);
void pwm_test_init(void);

#endif


